package util;

/**
 * Created by YL1988 on 2016/9/6 0006.
 */
public class StringUtil {

    public static boolean isNullOrEmptyString(String str, boolean trim) {
        return str == null || (trim ? str.trim().equals("") : str.equals(""));
    }
}
